
package com.idealighter.game.games.doudizhu.message;

import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.message.core.ResMessage;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * 比赛轮数信息更新消息 .
 *
 */
@ResMsg(501220)
@Data
public class ResMatchRunsInfoUpdateMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = 501220;
  // 比赛轮数(0:预赛)
  @Protobuf(order = 2)
  private int runs;
  // 比赛轮数人数
  @Protobuf(fieldType = FieldType.INT32, order = 3)
  private List<Integer> nums = new ArrayList<>();
  // 正在比赛的桌子数
  @Protobuf(order = 4)
  private int tables;
}
